/**
 * 微购儿CRM配置文件
 */
export const Config = {

  //请求的服务器地址
   url: 'https://crmnn.netbcloud.com/',

  // SaaSId
  'SaaSID': '1',
  // Deployment: 通用部署版, CRM: 网商CRM
  'version': 'CRM',
  // CLOUD: 云开发版, LOCAL: 服务器版
  'ENV': 'CLOUD',

  // 客户端相关的插件
  'agentPlugins': {
    'album': {
      'status': true, // 相册开关
      'bgImage': ''
    },
    'workOrder': {
      'status': true, // 相册开关
      'bgImage': ''
    }
  },
  // 员工端入口开关
  'AdminEnterEnable': true,

  // tabbar模式: default(预设), custom(自定义)
  'tabbarType': 'custom',
  // 跳转员工端的switch页面
  'SwitchTabToAdminPageUrl': '/pages/admin/homepage/homepage/homepage',
  // 'SwitchTabToAdminPageUrl': '/pages/admin/center/center',
  // 跳转客户端的switch页面
  'SwitchTabToAgentPageUrl': '/pages/agent/homepage/index/index',
  // 'SwitchTabToAgentPageUrl': 'pages/agent/plugins/superWorkOrder/list/index',

  // tarbar选中颜色
  "selectedColor": "#7a7a7a",

  // app.json内所有tarbarList
  appJsonTarbarList: [{
      "pagePath": "pages/agent/homepage/index/index",
      "text": "首页",
      "iconPath": "./images/agent/tabBar/1.png",
      "selectedIconPath": "./images/agent/tabBar/1.png"
    },
    {
      "pagePath": "pages/agent/center/index/index",
      "text": "个人中心",
      "iconPath": "./images/agent/tabBar/3.png",
      "selectedIconPath": "./images/agent/tabBar/3.png"
    },
    {
      "pagePath": "pages/agent/plugins/video/list/list",
      "text": "视频中心",
      "iconPath": "./images/agent/tabBar/2.png",
      "selectedIconPath": "./images/agent/tabBar/2.png"
    },
    {
      "pagePath": "pages/agent/plugins/superWorkOrder/list/index",
      "text": "工单",
      "iconPath": "./images/agent/tabBar/2.png",
      "selectedIconPath": "./images/agent/tabBar/2.png"
    },
    {
      "pagePath": "pages/admin/homepage/homepage/homepage",
      "text": "首页",
      "iconPath": "./images/admin/nav/1.png",
      "selectedIconPath": "./images/admin/nav/1.png"
    },
    {
      "pagePath": "pages/admin/plugins/index/index",
      "text": "应用",
      "iconPath": "./images/admin/nav/2.png",
      "selectedIconPath": "./images/admin/nav/2.png"
    },
    {
      "pagePath": "pages/admin/center/center",
      "text": "个人中心",
      "iconPath": "./images/admin/nav/3.png",
      "selectedIconPath": "./images/admin/nav/3.png"
    }
  ]
}
